﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<BGCMS.Models.KeywordViewModel>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    Efnisflokkar
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div id="leftside">
        <% Html.RenderPartial("AdminLinks"); %>
    </div>
    <div id="content">
        <div id="efnisflokkar">
            <h2>
                Efnisflokkar</h2>
            <%: Html.ActionLink("Bæta við nýjum efnisflokki", "CreateKeyword") %>
        </div>
        <div class="keywords">
            <h3>
                Almennt um brjóstagjöf</h3>
            <ul>
                <% foreach (var m in Model.Keywords1)
                   { %>
                <li>
                    <%: Html.ActionLink(m.Title, "EditKeyword", new { m.ID }) %></li>
                <% } %>
            </ul>
        </div>
        <div class="keywords">
            <h3>
                Fyrstu dagarnir</h3>
            <ul>
                <% foreach (var m in Model.Keywords2)
                   { %>
                <li>
                    <%: Html.ActionLink(m.Title, "EditKeyword", new { m.ID }) %></li>
                <% } %>
            </ul>
        </div>
        <div class="keywords">
            <h3>
                Algeng vandamál</h3>
            <ul>
                <% foreach (var m in Model.Keywords3)
                   { %>
                <li>
                    <%: Html.ActionLink(m.Title, "EditKeyword", new { m.ID }) %></li>
                <% } %>
            </ul>
        </div>
        <div class="keywords">
            <h3>
                Næring barna</h3>
            <ul>
                <% foreach (var m in Model.Keywords4)
                   { %>
                <li>
                    <%: Html.ActionLink(m.Title, "EditKeyword", new { m.ID }) %></li>
                <% } %>
            </ul>
        </div>
        <div class="keywords">
            <h3>
                Þroski barna</h3>
            <ul>
                <% foreach (var m in Model.Keywords5)
                   { %>
                <li>
                    <%: Html.ActionLink(m.Title, "EditKeyword", new { m.ID }) %></li>
                <% } %>
            </ul>
        </div>
        <div class="keywords">
            <h3>
                Spurt og svarað</h3>
            <ul>
                <% foreach (var m in Model.Keywords6)
                   { %>
                <li>
                    <%: Html.ActionLink(m.Title, "EditKeyword", new { m.ID }) %></li>
                <% } %>
            </ul>
        </div>
        <div class="keywords">
            <h3>
                Fyrir fagfólk</h3>
            <ul>
                <% foreach (var m in Model.Keywords7)
                   { %>
                <li>
                    <%: Html.ActionLink(m.Title, "EditKeyword", new { m.ID }) %></li>
                <% } %>
            </ul>
        </div>
        <div class="keywords">
            <h3>
                Atburðir</h3>
            <ul>
                <% foreach (var m in Model.Keywords8)
                   { %>
                <li>
                    <%: Html.ActionLink(m.Title, "EditKeyword", new { m.ID }) %></li>
                <% } %>
            </ul>
        </div>
        <div class="keywords">
            <h3>
                Ýmislegt</h3>
            <ul>
                <% foreach (var m in Model.Keywords9)
                   { %>
                <li>
                    <%: Html.ActionLink(m.Title, "EditKeyword", new { m.ID }) %></li>
                <% } %>
            </ul>
        </div>
        <div class="keywords">
            <h3>
                Óflokkað</h3>
            <ul>
                <% foreach (var m in Model.Keywords10)
                   { %>
                <li>
                    <%: Html.ActionLink(m.Title, "EditKeyword", new { m.ID }) %></li>
                <% } %>
            </ul>
        </div>
        <div class="keywords">
            <h3>
                Forsíða</h3>
            <ul>
                <% foreach (var m in Model.Keywords11)
                   { %>
                <li>
                    <%: Html.ActionLink(m.Title, "EditKeyword", new { m.ID }) %></li>
                <% } %>
            </ul>
        </div>
    </div>
</asp:Content>